//
//  AFNetworkingManager.h
//  SkinerZTZ
//
//  Created by cts on 2018/1/11.
//  Copyright © 2018年 hhjiang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"

typedef void(^Success1)(id responseObject);
typedef void(^Failure1)(NSError *error);

@interface AFNetworkingManager : NSObject

+ (instancetype)sharedInstance;

- (void)POSTDaTa:(NSString *)URLString parameters:(NSDictionary *)dic Withsuccess:(Success1)success WithFailure:(Failure1)failure;


- (void)GETDaTa:(NSString *)URLString parameters:(NSDictionary *)dic Withsuccess:(Success1)success WithFailure:(Failure1)failure;

- (void)GET:(NSString *)URLString parameters:(NSDictionary *)dic Withsuccess:(Success1)success WithFailure:(Failure1)failure;

- (void)POST:(NSString *)URLString parameters:(NSDictionary *)dic Withsuccess:(Success1)success WithFailure:(Failure1)failure;

@end
